| Previous | Chapter contents | Chapter top | Section top | Next |
You can use the QTVRGetViewingLimits function to get the current viewing limits of a QuickTime VR movie.
OSErr QTVRGetViewingLimits (
QTVRInstanceqtvr,
UInt16kind,
float*minValue,
float*maxValue);
The QTVRGetViewingLimits function returns, in the floating-point values pointed to by the minValue and maxValue parameters, the current minimum and maximum values for angles whose type is specified by the kind parameter.
The maximum field of view of a panoramic node can be limited by the size of the back buffer and the current aspect ratio of the movie's graphics world.
The values returned by QTVRGetViewingLimits are unaffected by the current control settings.
QTVRGetViewingLimits returns information about the physical viewing limits of a panorama or object. To get information about the current viewing constraints, use QTVRGetConstraints (link) .
| Previous | Chapter contents | Chapter top | Section top | Next |